import { debounce } from 'radash';

const redirectToHome = debounce({ delay: 1000 }, () => {
  window.location.href = '/';
});

export default redirectToHome;
